package com.sunday.aomicaichang.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yun_sheng on 2017/6/6.
 */

public class Area implements Serializable{

    /**
     * children : [{"name":"春和钱塘","id":1,"pyszm":"C"},{"name":"非北三苑","id":2,"pyszm":"F"}]
     * name : 杭州市
     * id : 1
     * pyszm : null
     */

    private String name;
    private int id;
    private String pyszm; 
    private List<ChildrenBean> children;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPyszm() {
        return pyszm;
    }

    public void setPyszm(String pyszm) {
        this.pyszm = pyszm;
    }

    public List<ChildrenBean> getChildren() {
        return children;
    }

    public void setChildren(List<ChildrenBean> children) {
        this.children = children;
    }

    public static class ChildrenBean implements Serializable{
        /**
         * name : 春和钱塘
         * id : 1
         * pyszm : C
         */

        private String name;
        private int id;
        private String pyszm;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPyszm() {
            return pyszm;
        }

        public void setPyszm(String pyszm) {
            this.pyszm = pyszm;
        }
    }
}
